import Vue from 'vue'
import VueRouter from 'vue-router'
// import HomeView from '../views/HomeView.vue'
import TuiJian from '@/views/TuiJian.vue'
import SouSuo from '@/views/SouSuo.vue'
import ReMen from '@/views/ReMen.vue'
import GeDan from '@/views/GeDan.vue'
import AppIndex from '@/views/AppIndex.vue'
import BoFangQi from '@/views/BoFangQi.vue'



// import AuDio from '@/components/AuDio.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'AppIndex',
    component: AppIndex,
    children: [{
      path: '/',
      name: 'TuiJian',
      component: TuiJian,
    },
    {
      path: 'tuijian',
      name: 'tuijian',
      component: SouSuo
    },
    {
      path: 'remen',
      name: 'remen',
      component: ReMen,
      meta: { PaiHang: true }
    },
    ]
  },
  {
    path: '/gedanxiangqing',
    name: 'gedan',
    component: GeDan
  },

  {
    path: '/bofangqi',
    name: 'bofangqi',
    component: BoFangQi,
    meta: { BoFanghidden: true },
    // children: [{
    //   path: '/',
    //   name: 'zhuanji',
    //   component: BFzhuanJi,
    //   meta: { BoFanghidden: true },
    // }, {
    //   path: '/geci',
    //   name: 'geci',
    //   component: BFgeCi,
    //   meta: { BoFanghidden: true },
    // }
    // ]
  },



]

const router = new VueRouter({
  routes
})

export default router
